package com.jrh.dal;

import java.util.List;

import com.jrh.domain.entity.Comments;

/**
 * 评论DAO
 * 
 * @author yout 2012-7-17 下午9:52:25
 */
public class CommentsDao extends BaseDao<Comments> {

    /**
     * 
     */
    public CommentsDao(){
        this.namespace = "jrh.single.comments";
    }

    @SuppressWarnings("unchecked")
    public List<Comments> listCommentsByCondition(Comments comments) {
        return (List<Comments>) sqlMapClientTemplate.queryForList(namespace + "." + "listCommentsByCondition", comments);
    }

}
